﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Principal.aspx.cs" Inherits="PresentacionWeb.Principal" Title="Acceso a la plataforma de comunicación de usuarios" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Página sin título</title>

    <script type="text/javascript">
    
      function pageLoad() {
      }
    
    </script>

    <style type="text/css">
        .style1
        {
            height: 163px;
        }
    </style>

</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server" />
    </div>
    <table align="center">
        <tr>
        <td>
        <p style="float: left; filter: alpha(opacity=10); -moz-opacity: 0.10; opacity: 0.10;">
            <img alt="" src="imagenes/imgPagina/logoEupla.jpg" style="width: 1094px; height: 246px" /></p>
            
        <br />
        </td>
        </tr>
        <tr>
        <td class="style1">
        <table align="center" style="vertical-align: center">
            <tr>
            <td>
                <asp:LinkButton ID="lbLogin" runat="server">Login</asp:LinkButton>
                <ajaxToolkit:HoverMenuExtender ID="lbLogin_HoverMenuExtender" runat="server" DynamicServicePath=""
                    Enabled="True" TargetControlID="lbLogin" OffsetX="-150" PopupControlID="pnlLogin"
                    PopDelay="25" PopupPosition="Bottom" HoverCssClass="popupHover">
                    <Animations> 
                        <OnShow> 
                            <Sequence>
                            <HideAction Visible="true" />
                             <Parallel AnimationTarget="lbLogin" Duration=".5">
                                    <Color PropertyKey="color" StartValue="#666666" EndValue="#ffffff" />
                            </Parallel>
                            <Parallel AnimationTarget="pnlLogin" Duration=".5">
                                <FadeIn Duration=".8" Fps="20" />
                            </Parallel>  
                            <Parallel AnimationTarget="pnlLogin" Duration=".5">
                                    <Color PropertyKey="color" StartValue="#ffffff" EndValue="#727272" />
                                    <Color PropertyKey="borderColor" StartValue="#666666" EndValue="#000000" />
                            </Parallel> 
                            </Sequence>
                        </OnShow> 
                        <OnHide>
                         <Sequence>
                            <Parallel AnimationTarget="pnlLogin" Duration=".5">
                                <Color PropertyKey="color" StartValue="#727272" EndValue="#ffffff" />
                                <Color PropertyKey="borderColor" StartValue="#000000" EndValue="#666666" />
                            </Parallel>
                            <Parallel AnimationTarget="pnlLogin" Duration=".5">
                                <FadeOut Duration=".3" Fps="20" />
                            </Parallel>
                                <Parallel AnimationTarget="lbLogin" Duration=".5">
                                    <Color PropertyKey="color" StartValue="#ffffff" EndValue="#666666" />
                            </Parallel>  
                            </Sequence>
                        </OnHide>
                    </Animations>
                </ajaxToolkit:HoverMenuExtender>
                <asp:Panel ID="pnlLogin" runat="server" BorderWidth="1px" Wrap="False" CssClass="popupMenu">
                    <asp:Login ID="loginUsuarios" runat="server" UserNameLabelText="Usuario:" 
                        FailureText="No ha sido posible conectarse." LoginButtonText="Aceptar" 
                        PasswordRequiredErrorMessage="La contraseña es necesaria." 
                        RememberMeText="Recordar la próxima vez." TitleText="Acceder" 
                        UserNameRequiredErrorMessage="El nombre es requerido" OnAuthenticate="Autenticacion"
                         Width="343px" BackColor="#F7F6F3" BorderColor="#E6E2D8" BorderPadding="4" 
            BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" 
            ForeColor="#333333" Height="162px">
                    </asp:Login>
                    <%--<table>
                        <tr>
                            <td>
                                <asp:Label runat="server" ID="lblLogin" Text="Usuario"> 
                                </asp:Label>
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtLogin">
                                </asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td>
                                <asp:Label runat="server" ID="lblPwd" Text="Contraseña"> 
                                </asp:Label>
                            </td>
                            <td>
                                <asp:TextBox runat="server" ID="txtPwd">
                                </asp:TextBox>
                            </td>
                        </tr>
                    </table>--%>
                </asp:Panel>
            </td>
            <td style="border-left-width: thick; border-left-color: #727272; border-right-width: thick;
                border-right-color: #727272">
            </td>
            <td>
             <!--OnClientClick="return false;"-->
                <asp:LinkButton ID="lbRegistro" runat="server"
                    PostBackUrl="~/NuevoRegistro.aspx" onclick="lbRegistro_Click1">Registro</asp:LinkButton>
            </td>
        </tr>
        </table>
        </td>
        </tr>
    </table>
    </form>
</html>
